<!--
 * @Author: 张天昊
 * @Date: 2024-10-30 17:21:04
 * @LastEditTime: 2024-11-01 15:35:36
 * @LastEditors: 张天昊
 * @Description: 
 * @FilePath: /sentiment-dispose-app/src/views/Index.vue
-->
<script setup>
import { demoReq } from '@/apis'
const userInfo = ref(null) // 可以不用手动引入vue相关的api，auto-import已经做好了
async function req() {
  const res = await demoReq()
  if (res.ret === 0 && res.data) {
    userInfo.value = res.data
  }
}
req()
</script>

<template>
  <div>
    舆情首页{{ userInfo }}
    <div class="font-din">666</div>
  </div>
</template>
